package com.syc.legou.legou_search_api.entity;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.solr.client.solrj.beans.Field;
import org.springframework.data.annotation.Id;

/**
 * <p>
 *
 * </p>
 *
 * @author su
 * @since 2021-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "Vod对象", description = "")
public class Vod implements Serializable {

    private static final long serialVersionUID = 1L;
    @Id
    @Field("id")
    @TableId(value = "vod_id", type = IdType.ID_WORKER_STR)
    private String vodId;

    @ApiModelProperty(value = "视频名")
    @Field("vod_name")
    private String vodName;

    private String vodTitle;

    @ApiModelProperty(value = "标签")
    @Field("vod_tag")
    private String vodType;

    @ApiModelProperty(value = "演员")
    @Field("vod_actor")
    private String vodActor;

    @ApiModelProperty(value = "导演")
    @Field("vod_director")
    private String vodDirector;

    @ApiModelProperty(value = "视频介绍")
    @Field("vod_content")
    private String vodContent;

    @ApiModelProperty(value = "封面")
    @Field("vod_pic")
    private String vodPic;

    @ApiModelProperty(value = "地区")
    @Field("vod_area")
    private String vodArea;

    @ApiModelProperty(value = "语言")
    @Field("vod_language")
    private String vodLanguage;

    @ApiModelProperty(value = "年份")
    @Field("vod_year")
    private String vodYear;

    @ApiModelProperty(value = "添加时间")
    @Field("vod_addtime")
    private Date vodAddtime;

    @ApiModelProperty(value = "视频格式")
    @Field("vod_play")
    private String vodPlay;

    @ApiModelProperty(value = "播放链接")
    @Field("vod_url")
    private String vodUrl;

    @ApiModelProperty(value = "超清、第几期")
    @Field("vod_continu")
    private String vodContinu;

    @ApiModelProperty(value = "类型")
    @Field("vod_type")
    private String listName;


}
